package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-库存模块-库存品类
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_stock_category")
@ApiModel(value = "ErpStockCategory对象", description = "ERP系统-库存模块-库存品类")
public class ErpStockCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("级别 1-一类 2-二类 3-三类")
    private Integer level;

    @ApiModelProperty("货物类型1-通用编码 2-电池 3-备件")
    private Integer codeType;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("排序号")
    private Integer sort;

    @ApiModelProperty("是否可用")
    private Integer isEnabled;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
